package com.bdqn.t320.dao;

import com.bdqn.t320.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysUserMapper {

    public List<SysUser> getUsersByRealName(@Param("realName") String realName);

    public List<SysUser> getUserListByPojo(SysUser sysUser);

    public List<SysUser> getUserListByMap(Map<String, Object> userMap);

    public List<SysUser> getUserListByRoleId(@Param("userRole") int realName);

    public List<SysUser> getUserAndAddressesByUserId(@Param("id") int id);

}
